<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<html>

<head>
<!--    http://fund.eastmoney.com/Data/FundDataPortfolio_Interface.aspx?dt=14&mc=returnjson&ft=all&pn=2160&pi=1&sc=abbname&st=asc 基金经理接口-->
<!--    http://fund.eastmoney.com/pingzhongdata/161725.js 基金高级信息接口-->
<!--    http://j4.dfcfw.com/charts/pic6/161725.png 基金实时走势图接口-->
<!--    http://fundgz.1234567.com.cn/js/161725.js 基金基本信息接口-->
<!--    http://fund.eastmoney.com/js/jjjz_gs.js?dt=1463791574015 所有基金公司名称列表代码-->
    <meta charset="UTF-8">
    <title>阿里云API</title>
    <link href="${pageContext.request.contextPath}/image/logo.png" rel="Shortcut Icon">
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="http://fund.eastmoney.com/js/jjjz_gs.js?dt=1463791574015"></script>
<%
    for (int i = 0; i < 168; i++) {
%>
    <script type="text/javascript">
        console.log("所有基金公司个数："+gs.op.length)
        console.log("基金经理编号："+gs.op[<%=i%>][0]);
        console.log("基金经理名称："+gs.op[<%=i%>][1]);
        $.ajax({
            async:false,
            type:"POST",
            url:"./getFundCompanyData.do",
            data:{
                fcId:gs.op[<%=i%>][0],
                fcName:gs.op[<%=i%>][1]
            }
        });
    </script>
<%
    }
%>
</head>

<body>
<header>阿里云API测试</header>
<img src="http://j4.dfcfw.com/charts/pic6/161725.png"/>
</body>

</html>